package moniter

var Message = map[string][]string{
	"Role": []string{
		"transactionServerList",
		"transactionRoleList",
		"transactionSelectRole",
		"transactionCreateRole",
	},
	"Map": []string{
		"transactionEnterMap",
		"transactionMove",
		"transactionStartAoi",
		"transactionTeleportPoint",
	},
	"InstanceZone": []string{
		"transactionEndInstanceZone",
		"transactionEnterBossZone",
		"transactionEnterInstanceZone",
		"transactionEnterCampaign",
		"transactionLeaveMap",
	},
	"Mission": []string{
		"transactionAcceptMission",
		"transactionCompleteMission",
		"transactionTalkToNpc",
	},
	"Weapon": []string{
		"transactionDemountWeapon",
		"transactionEquipWeapon",
		"transactionExchangeWeapon",
		"transactionWeaponDemountSoul",
		"transactionWeaponEquipSoul",
		"transactionWeaponUpStar",
	},
	"Other": []string{
		"transactionBuy",
		"transactionChat",
		"transactionGameMaster",
		"transactionTime",
	},
	//"SS":  []string{},
	//"RPC": []string{},
}

func InitRegister() {
	for _, field := range Message {
		for _, name := range field {
			Register(name)
		}
	}
}
